xend: Enable to set config variables in /etc/sysconfig/xend
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Sep 2009 08:00:21 +0000 (09:00 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Sep 2009 08:00:21 +0000 (09:00 +0100)
commitad46d7a6284b16aeee5076d29adea88c51deb904
tree54c41cb5587fc8b83c30573b93bdba1470a4dcfa
parenta358be0b0f50fb58fd4ce0d6beeeee3ba88a625b
xend: Enable to set config variables in /etc/sysconfig/xend

The attached patch enables to set the environment variables for xend
in /etc/sysconfig/xend.

There are four variables.

XENCONSOLED_TRACE=3D[none|guest|hv|all]
XENSTORED_ROOTDIR=3D/var/lib/xenstored
XENSTORED_TRACE=3D[yes|on|1]
XENBACKENDD_DEBUG=3D[yes|on|1]

The XENCONSOLED_TRACE and XENSTORED_ROOTDIR take strings for each
command's options. And if thease variables have non-zero strings, then
export them.
If the XENSTORED_TRACE and XENBACKENDD_DEBUG take either "yes", "on"
or "1" then export them.

From: Kazuhiro SUZUKI <kaz@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/hotplug/Linux/Makefile
tools/hotplug/Linux/init.d/sysconfig.xend [new file with mode: 0644]
tools/hotplug/Linux/init.d/xend